package net.pinnoocle.playdao.entity.shopPc;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author ye
 * @Description
 * @create 2021-10-20 20:02
 */
@Data
public class SaveScriptRoleParams {

    @ApiModelProperty(value = "角色id(编辑时必传,不传表示新增)")
    private String roleId;

    @ApiModelProperty(value = "剧本角色名称",required = true)
    @NotNull(message = "剧本角色名称不能为空")
    private String roleName;

    @ApiModelProperty(value = "剧本角色介绍",required = true)
    @NotNull(message = "剧本角色介绍不能为空")
    private String roleIntro;

    @ApiModelProperty(value = "剧本角色头像",required = true)
    @NotNull(message = "剧本角色头像不能为空")
    private String headPortrait;
}
